<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			*{
				padding:0;
				margin:0;
				list-style: none;
			}
			ul{
				margin:100px 200px;
				
			}
			ul li{
				float:left;
				border:1px solid black;
				width:120px;
				height:40px;
				line-height:40px;
				text-align: center; 
				transform: skew(30deg);
			}
			ul li a{
				display: block;
				/*skew 只能加给快元素*/
				transform: skew(-30deg);
			}
		</style>
	</head>
	<body>
		<ul>
			<li><a href="">首页</a></li>
			<li><a href="">视频</a></li>
			<li><a href="">音乐</a></li>
			<li><a href="">小说</a></li>
		</ul>
	</body>
</html>
